<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}">
<title>Detail</title>
</head>
<body>
申請者:{$data.requester_id|escape}<br />
連絡先: {$requester.mail_address|escape}<br />
申請日:<br />
{$data.create_datetime|date_format:"%Y/%m/%d %T"}<br />
必要な物資:{$data.req_content|escape}<br />
数量:{$data.req_amount|escape}<br />
届け先:
{$shelter->prefecture|escape}
{$shelter->area|escape}
{$shelter->city|escape}
{$shelter->district|escape}
{$shelter->name|escape}
<br />
<a href="http://maps.google.com/maps?q={$shelter->lat_lng}+({$shelter->name|escape|google_maps_escape})">Googleマップ</a>
<br />
届け先付加情報:{$data.addressee_notes|escape}<br />
緊急度:{$severity_opt|escape}<br />
状態:<font color="FF0000">{$status_opt}</font><br />
(最終更新者: {$status->update_id|escape})<br />
コメント:{$data.notes|escape}<br />
{if $show_edit_link}<a href="{$base}/request/edit">編集</a>{/if}
{if $show_status_form}
<form action="{$base}/list/status" method="post">
{html_options name=status options=$status_opts selected=$status_opt}
<input type="hidden" name=csrf value="{$csrf}">
<input type="submit" value="更新">
</form>
{/if}
<a href="{$base}/list">一覧</a>
<form action="{$base}/comment" method="post">
<hr />
<a href="{$base}/list/detail/id/{$displayId}/page/{$page->first}">最初</a>
{if isset($page->previous)}
<a href="{$base}/list/detail/id/{$displayId}/page/{$page->previous}">前へ</a>
{/if}
{if isset($page->next)}
<a href="{$base}/list/detail/id/{$displayId}/page/{$page->next}">次へ</a>
{/if}
<a href="{$base}/list/detail/id/{$displayId}/page/{$page->last}">最後</a>
<br />
{foreach from=$comments item=comment name=loop1}
{$smarty.foreach.loop1.index+$page->firstItemNumber}:
{$comment.create_datetime|date_format:"%Y/%m/%d %T"}<br />
投稿者:{$comment.register_id|escape}<br />
{$comment.comment|escape}<br />
<br />
{/foreach}
コメントを追加<br />
<textarea name="comment"></textarea><br />
<input type="hidden" name=csrf value="{$csrf}">
<input type="submit" />
</form>
</body>
</html>